package net.oschina.archx.spring.mybatis.entity;

import net.oschina.archx.spring.common.entity.BaseEntity;

import java.io.Serializable;

/**
 * User
 *
 * @author Archx
 * @date 2015/6/17 0017
 */
public class User extends BaseEntity<Long> implements Serializable {

    private static final long serialVersionUID = 138568647244697357L;
    
    private String name;
    private Integer age;

    public User() {
    }

    public User(Long id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
